
#ifndef wu_PAPALLONAMANAGER_H
#define wu_PAPALLONAMANAGER_H

#pragma once
#include "wuPapallona.h"
#include "wuBaseManager.h"

class wuPapallonaManager : public wuBaseManager
{
    public:
        wuPapallonaManager();
        ~wuPapallonaManager();

        void setup(int _vw, int _vh);
		bool capture(ofImage *currImg, ofImage *bgImg, int x_offset);
		void addBitxo(ofImage *_skin, ofRectangle rect,  vector <ofPoint> * _pts);
		void update();
		void draw(bool bDrawLines=false, int offX=0);
        void drawSelected(bool pinta_bg=false, int offX=0);
        void clear(void);

		// papallones
        vector <wuPapallona> papallones;

};
#endif

